package com.example.helloworld;

import java.io.File;

public class CreateDir {
    public static void main(String[] args) {
        // hello文件夹
//        String dirname = "C:/Users/47054/Desktop/hello";
        // 多级
        String dirname = "C:/Users/47054/Desktop/hello/a/b";
        File file = new File(dirname);
//        file.mkdir();
        file.mkdirs();
    }
}
